package com.felix.bean;

public class Release {
	private int rel_id;
	private String rel_name;
	private String from_pl;
	private String to_pl;
	private String start_time;
	private String end_time;
	private int rel_total;
	private int rel_sits;
	

	public int getRel_id() {
		return rel_id;
	}
	public void setRel_id(int relId) {
		rel_id = relId;
	}
	public String getRel_name() {
		return rel_name;
	}
	public void setRel_name(String relName) {
		rel_name = relName;
	}
	public String getFrom_pl() {
		return from_pl;
	}
	public void setFrom_pl(String fromPl) {
		from_pl = fromPl;
	}
	public String getTo_pl() {
		return to_pl;
	}
	public void setTo_pl(String toPl) {
		to_pl = toPl;
	}
	public String getStart_time() {
		if (start_time!=null) {
			return start_time.substring(0,10);
		}
		return start_time;
	}
	public void setStart_time(String startTime) {
		start_time = startTime;
	}
	public String getEnd_time() {
		if (end_time!=null) {
			return end_time.substring(0,10);
		}
		return end_time;
	}
	public void setEnd_time(String endTime) {
		end_time = endTime;
	}
	public int getRel_total() {
		return rel_total;
	}
	public void setRel_total(int relTotal) {
		rel_total = relTotal;
	}
	public int getRel_sits() {
		return rel_sits;
	}
	public void setRel_sits(int relSits) {
		rel_sits = relSits;
	}
	
	

}
